#ifndef __STATICDATA_ISIMPLETABLEFRAME_H__
#define __STATICDATA_ISIMPLETABLEFRAME_H__

#include <string>

class AtomString;
class ISimpleTableFrame
{
public:
	virtual ~ISimpleTableFrame(){};

	virtual void	AddPair( int nCol,const std::string& strField ) = 0;
	virtual void	AddPair( const std::string& strField,int nCol ) = 0;

	/// @return -1 if field not found
	virtual int	GetColByField( const std::string& ) = 0;

	/// @return -1 if field not found
	virtual int	GetColByField( const AtomString& ) = 0;

	virtual std::string GetFieldByCol( int nCol ) = 0;

	virtual int	GetFieldCount() = 0;
};

#endif //__STATICDATA_ISIMPLETABLEFRAME_H__
